package com.remiss.seckilldemo.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.remiss.seckilldemo.pojo.Order;
import com.remiss.seckilldemo.pojo.User;
import com.remiss.seckilldemo.vo.GoodsVO;
import com.remiss.seckilldemo.vo.OrderDetailVO;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author remiss
 * @since 2021-04-03
 */
public interface IOrderService extends IService<Order> {

    Order seckill(User user, GoodsVO goodsVO);

    OrderDetailVO detail(Long orderId);
}
